package chapterSystem.client.interfaceDrawing.activities;

import chapterSystem.client.model.entitiesInt.Brother;
import chapterSystem.client.model.enums.ActivityType;
import com.google.gwt.user.client.ui.StackLayoutPanel;

/**
 * User: Svetlana Zemlyanskaya(svetazem@yandex-team.ru)
 * Date: 4/14/12
 */
public abstract class Activity {
    protected ActivityType id;
    protected Brother brother;

    protected Activity(final Brother brother, final ActivityType type) {
        this.brother = brother;
        this.id = type;
    }

    public abstract void drawActivity(StackLayoutPanel workArea);
}